package com.itheima.ydd.service;

import com.itheima.ydd.dto.RoleDto;
import com.itheima.ydd.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 */
public interface ISysRoleService extends IService<SysRole> {
    public Boolean RoleUtils(String oneRole, String twoRole, String thirdRole);

    List<String> roleNameList(String role_id);

    List<RoleDto> getByMenu();
    RoleDto getRole(String id);
    void updateMenu(List<String> menuids, String id);
    void saveWithMenu(RoleDto roleDto);
    void del(String id);
}
